var storage={
	/*	封装localStorage本地存储方法   模块化*/
	
	get(key){
		return JSON.parse(localStorage.getItem(key));
	},
	set(key,val){
		localStorage.setItem(key, JSON.stringify(val));
	},
	remove(key){
		localStorage.removeItem(key);
	}
}
//暴露出去
export default storage;


